//
//  AuctionHomeModel.m
//  MyNewProject
//
//  Created by 王春辉 on 2020/1/11.
//  Copyright © 2020年 sun. All rights reserved.
//

#import "AuctionHomeModel.h"

@implementation AuctionHomeModel
+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"data": [AuctionHomeDataModel class]};
}
@end

@implementation AuctionHomeDataModel
+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"goods": [ProductDetailModel class],
             @"coupon": [AuctionHomeCouponModel class],
             @"shop": [AuctionHomeShopModel class]};
}
@end

@implementation AuctionHomeShopModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{@"ID":@"id"};
}
@end

@implementation AuctionHomeCouponModel
+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{@"ID":@"id"};
}
@end

@implementation NewUserProductDataModel
+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"data": [ProductDetailModel class]};
}
@end
